User Login
POST /api/v1/users/login/public
Description
Perform user login.
Headers:
- Content-Type: application/json
- Authorization:
Bearer {{bearerToken}}
URL: /api/v1/users/login/public
Response: The response is "Created" with a code of 201.
/api/v1/users/login/public
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"username": "<string>",
"password": "<string>",
"tenantId": "<string>",
"role": "TENANT_DEVELOPER"
}
Response: 201
{
"accessToken": "{{$randomAccessToken}}",
"expireDurationSeconds": 604800,
"refreshToken": "{{$randomRefreshToken}}"
}
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/users/login/public \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!